<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <s:head theme="ajax"/>
    <title>My JSP 'taskBookList.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" type="text/css" href="../css/topicsTable.css">
	<link rel="stylesheet" type="text/css" href="../css/topics.css">
	<link rel="stylesheet" type="text/css" href="../css/content.css">
	<link rel="stylesheet" type="text/css" href="../css/student.css">
	<link rel="stylesheet" type="text/css" href="../css/teacher.css">
	<script type="text/javascript" src="../js/common.js"></script>
	<script type="text/javascript" src="../js/topics.js"></script>
	<script type="text/javascript" src="../js/student.js"></script>
	<script type="text/javascript" src="../js/teacher.js"></script>
  </head>
  
  <body>
    <%@ include file="/topicsTable.jsp"%>
    <%@ include file="/student/student.jsp"%>
    <form name="taskUploadForm" target="upload-target"  id="taskUpload" method="post" onsubmit="return checkTask();" enctype="multipart/form-data">
    <s:hidden name="topicsTaskID"></s:hidden>
    <s:hidden name="topicsID"></s:hidden>
    <div id="taskUpload_contant" class="container" style="display: none;">
			<div class="c_head">
				<span class="c_head_1" id="c_head"></span>
				<span class="c_head_2" style="margin-left: 415px;"> <a href="javascript:void(0)"> <IMG
							src="../img/close2.gif" onclick="closediv('taskUpload_contant')"> </a> </span>
			</div>
			<div class="fileContainer" id="fileContainer" style="display: block;">
				<div id="resourceDIv" style="display: none;">
					<div class="fileContainer_1">
						<span class="fileContainer_1_1"><a href="javascript:void(0)" onclick="addTaskFile()" id="addFile">添加一个上传文件</a></span>
						<span class="fileContainer_1_2"><a href="javascript:void(0)" onclick="deleteFile()">删除一个上传文件</a></span>
					</div>
					<div id="taskUploadDiv" class="fileContainer_1" style="display: block;">
					</div>
				</div>
				<div id="taskDiv" style="display: none;">
				</div>
				<div class="fileContainer_3">
					<input type="submit" value="提交"/>
				</div>
			</div>
			<iframe id="uploadFrame" name="upload-target" height=50px" width="100%" style="display: none;" src="../blank.jsp"  frameborder="0" scrolling="no"></iframe>
		</div>
    </form>
    <div id="mask" style="display: none"></div>
  </body>
</html>
